package com.woniu.service;

import com.woniu.entity.ImportSubjectDTO;
import com.woniu.pojo.Subject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.vo.TreeSubjectVO;

import java.util.List;

/**
 * <p>
 * 课程科目 服务类
 * </p>
 *
 * @author xiaoruan
 * @since 2023-03-14
 */
public interface ISubjectService extends IService<Subject> {

    void importSubject(List<ImportSubjectDTO> subjectDTOList);

    List<TreeSubjectVO> findSubjectTrees();

    List<Subject> findsubjectByParentId(String parentId);

    List<Subject> listbyParentId();
}
